/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ds_Queue;

/**
 *
 * @author hcc25_000
 */
public class LinkedQueue_Test {
    public static void main(String[] args){
        MyLinkedQueue<Object> a=new MyLinkedQueue<>();
        a.enqueue(1);
        a.enqueue(1.9);
        a.enqueue(2);
        a.dequeue();a.dequeue();a.dequeue();
        //a.showInfo();
        a.enqueue(2.1);a.enqueue(3);a.enqueue(3.2);
        a.dequeue();
        System.out.println(""+a.first());
        a.showInfo();
    }
}
